Skip to content

Conversation

@wkillerud
Copy link
Contributor

The type definitions for the Metrics client are incomplete without this dependency, and the fix is hard to identify from the error messages. This is technically not a runtime dependency, and affects only a subset of our users, but this makes the module much easier to consume as TypeScript and/or JSDoc typechecking users.

See for instance podium-lib/http-client#14

The type definitions for the Metrics client are incomplete without
this dependency, and the fix is hard to identify from the error
messages. This is technically not a runtime dependency, and affects
only a subset of our users, but this makes the module much easier
to consume as TypeScript and/or JSDoc typechecking users.
Copy link
Contributor

@leftieFriele leftieFriele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I second this, as it seems kind of pointless to force others to add this rather strange dependency in their projects because they pull in @metrics/client

@wkillerud wkillerud merged commit 7a4f9d4 into main Nov 13, 2024
7 checks passed
@wkillerud wkillerud deleted the types-dep branch November 13, 2024 09:44
github-actions bot pushed a commit that referenced this pull request Nov 13, 2024
## [2.5.4](v2.5.3...v2.5.4) (2024-11-13)

### Bug Fixes

* include types/readable-stream as a dependency ([#111](#111)) ([7a4f9d4](7a4f9d4))
@github-actions
Copy link

🎉 This PR is included in version 2.5.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants